package com.javaweb.service;

import com.javaweb.model.Article;

import java.util.List;

public interface ArticleService {

    public int publishArticle(String userId, String articleId) ;
    List<Article> list(Article article);
    void add(Article article);
    void update(Article article);

}
